<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<style type="text/css">
.Nav{
position: absolute;
width: 100%;
height: 70px;
background-color: blue;
color: #FFF;
font-size: 20px;

}

.Nav ul li{
display: block;
text-decoration: none;
float: left;
margin-left: 65px;

}

.Nav ul li:HOVER {
	background-color: green;
	width: 80px;
	height: 60px;
	line-height: 40px;
	text-align: center;
}


</style>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>导航菜单</title>
</head>
<body>
<div class="Nav">
<ul><li>首页</li></ul>
<ul><li>导入Java</li></ul>
<ul><li>导航</li></ul>
<ul><li>版权</li></ul>
</div>
</body>
</html>